#ifndef FORM_PICKUP_H
#define FORM_PICKUP_H

#include <QWidget>
#include <QTcpSocket>

namespace Ui {
class Form_pickup;
}

class Form_pickup : public QWidget
{
    Q_OBJECT

public:
    explicit Form_pickup(QWidget *parent = 0);
    ~Form_pickup();

    void clearall();

    void send_pickup_request();

    int get_info(QString recv);

    void read_login();

private slots:

       void on_btn2_clicked();

       void on_btn1_clicked();

       void on_btn3_clicked();

       void on_btn4_clicked();

       void on_btn5_clicked();

       void on_btn6_clicked();

       void on_btn9_clicked();

       void on_btn7_clicked();

       void on_btn8_clicked();

       void on_btn0_clicked();

       void on_q_clicked();

       void on_w_clicked();

       void on_e_clicked();

       void on_r_clicked();

       void on_t_clicked();

       void on_y_clicked();

       void on_u_clicked();

       void on_i_clicked();

       void on_o_clicked();

       void on_p_clicked();

       void on_a_clicked();

       void on_s_clicked();

       void on_d_clicked();

       void on_f_clicked();

       void on_g_clicked();

       void on_h_clicked();

       void on_j_clicked();

       void on_k_clicked();

       void on_l_clicked();

       void on_z_clicked();

       void on_x_clicked();

       void on_c_clicked();

       void on_v_clicked();

       void on_b_clicked();

       void on_n_clicked();

       void on_m_clicked();

       void on_btn_del_clicked();

       void on_enter_clicked();

       void on_btn_ret_clicked();

       void on_btn_rewrite_clicked();

       void connectedSlot();

       void read_pickup_Slot();

signals:
    void return_welcome();

private:
    Ui::Form_pickup *ui;

    QTcpSocket *socket;

    QString PHONE_CLIENT;

    int count_sure;

    QString last;
};

#endif // FORM_PICKUP_H
